the addon must have at least one package, which is the main one -->
<!-- files that are in the zip but are not mentioned in any of the packages, will not be installed at all, so keep that in mind! -->
<packageinfo>
<optional/> <!-- optional tag, pretty much tells that the package is optional (Notice the tag is empty - i.e. No start/end pair) -->
<title>Title of package</title> <!-- This is the title of the package, can be whatever you want -->
<file>file1.dll</file> <!-- installation files. "file1.dll" means the file is in the root of the zip archive, use the relative path as well if it's in a relative path (i.e. "somefolder\test1.dll") -->
<file>file2.dll</file>
</packageinfo>
<autorun> <!-- The autorun tag is only allowed once! i.e. One file to be executed per installation, tops :) -->
<file>somefile.txt</file>
<document/> <!-- Means the type of file is a document (Text - .txt, or HTML - .htm/.html). if this is ommitted, the user will always be asked for confirmation -->
</autorun>
</installscript>
Tags are case-sensitive (XML Specs), just make sure you keep them at lower case.
Content, such as in the <type></type> pair, is case-insensitive, you can also use comments in the XML if you wish.
If you're not sure the XML is well built, you should run it through an XML validator first (Try: http://www.stg.brown.edu/service/xmlvalid/).
The script must be saved as InstallScript.xml, and be in the root of the zip archive.
Note: Comments *MUST NOT* be used where data is expected, i.e. don't do this: